/**  
 * @Title: Seckill.java
 * @Package org.seckill.entity
 * @Description: TODO(用一句话描述该文件做什么)
 * @author lxp  
 * @date 2016年9月20日 上午10:31:27
 * @version V1.0  
 */
package org.seckill.entity;

import java.util.Date;

/**
 * @ClassName: Seckill
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author ： lxp
 * @date ： 2016年9月20日 上午10:31:27
 *
 */
public class Seckill {
    /*
     * seckill_id bigint NOT NULL AUTO_INCREMENT COMMENT '商品库存id', name varchar(120) NOT NULL
     * COMMENT '商品名称', number int NOT NULL COMMENT '库存数量', create_time TIMESTAMP NOT null default
     * CURRENT_TIMESTAMP COMMENT '创建时间', start_time TIMESTAMP NOT NULL COMMENT '秒杀开启时间', end_time
     * TIMESTAMP NOT NULL COMMENT '秒杀结束时间',
     */
    private long seckillId;

    private String name;

    private int number;

    private Date createTime;

    private Date startTime;

    private Date endTime;

    public long getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(long seckillId) {
        this.seckillId = seckillId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "Seckill [seckillId=" + seckillId + ", name=" + name + ", number=" + number + ", createTime="
                + createTime + ", startTime=" + startTime + ", endTime=" + endTime + ", getSeckillId()="
                + getSeckillId() + ", getName()=" + getName() + ", getNumber()=" + getNumber()
                + ", getCreateTime()=" + getCreateTime() + ", getStartTime()=" + getStartTime()
                + ", getEndTime()=" + getEndTime() + ", getClass()=" + getClass() + ", hashCode()="
                + hashCode() + ", toString()=" + super.toString() + "]";
    }

   
}
